﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
namespace SmartLibraries.DataAccessLayer
{
    public class SmartOledbStoredProcedure: SmartSqlQuery
    {
		public SmartOledbStoredProcedure(string strConnectionstring)
			: base(strConnectionstring)
		{
			
		}
		
		[Obsolete("This is deprecated, use Query instead, From Future release this property will be removed")]

		public string StrProcedureName
		{
			get
			{
				return this.Query;
			}
			set
			{
				this.Query = value;
			}
		}

		protected override ISmartBaseDal GetHelper()
		{
			return new SmartOledbClasses
			(CommandType.StoredProcedure, this);
		}

	}
}
